home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / dev / c / libmpeg_src.lha / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-05  |  972 b   |  39 lines

  1. /* ----------------------------- MNI Header -----------------------------------
  2. @NAME       : globals.h
  3. @INPUT      : 
  4. @OUTPUT     : 
  5. @RETURNS    : 
  6. @DESCRIPTION: Declarations form global variables used internally by the
  7.               Berkeley MPEG decoding engine (except for those specific
  8.           to image dithering, which are declared in dither.h).
  9. @METHOD     : 
  10. @GLOBALS    : ditherType
  11.               input
  12.               [shmemFlag]
  13.               totNumFrames
  14. @CALLS      : 
  15. @CREATED    : Greg Ward, 94/6/16
  16. @MODIFIED   : 
  17. ---------------------------------------------------------------------------- */
  18.  
  19. #ifndef __GLOBALS_H
  20. #define __GLOBALS_H
  21.  
  22. #include <stdio.h>
  23. #include "mpeg.h"
  24.  
  25. #if (!ENABLE_DITHER)
  26. # define DoDitherImage(l,Cr,Cb,disp,h,w) ColorDitherImage(l,Cr,Cb,disp,h,w)
  27. #endif
  28.  
  29. extern DitherEnum ditherType;
  30. extern FILE *input;
  31.  
  32. extern Boolean EOF_flag;
  33. extern unsigned int curBits;
  34. extern int bitOffset, bufLength;
  35. extern unsigned int *bitBuffer;
  36.  
  37.  
  38. #endif
  39.